using System.Text;
using System.Data.Entity.ModelConfiguration;
using WMSNet.Model.Models;

namespace WMSNet.Data.Configuration
{
    public class TypeCapacityConstraintConfiguration : EntityTypeConfiguration<TypeCapacityConstraint>
    {
        public TypeCapacityConstraintConfiguration()
        {
            Property(g => g.TypeCapacityConstraintID).IsRequired();
            Property(g => g.AdditionalContent).IsOptional();
            Property(g => g.Created).IsOptional();
         
            Property(g => g.Modified).IsOptional();
           
            Property(g => g.Allocation).IsOptional();
            Property(g => g.AllocationType).IsOptional();
            Property(g => g.UnitLoadTypeID).IsRequired();
            Property(g => g.StorageLocationTypeID).IsRequired();
        }
    }
}